Skip to content

Randy Wilson#1

Open
Phoenixrr2113 wants to merge 13 commits intomasterfrom
Randy-Wilson
Open

Randy Wilson#1
Phoenixrr2113 wants to merge 13 commits intomasterfrom
Randy-Wilson

Conversation

@Phoenixrr2113
Copy link
Collaborator

No description provided.

@Phoenixrr2113 Phoenixrr2113 requested a review from ghobs91 February 4, 2019 21:33
};

componentDidMount() {
if (localStorage.getItem('user')) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure this eventually checks the login against the backend database of users, not just localStorage.

this.setState({ [event.target.name]: event.target.value });
};

setUserOnStorage = event => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is where you'll eventually put the POST request to the server to login I assume?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants